/**
 * Project: apollo-base-tools
 * 
 * File Created at 2017年8月2日
 * 
 * Copyright 2015-2016 dx.com Croporation Limited.
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of
 * DongXue software Company. ("Confidential Information").  You shall not
 * disclose such Confidential Information and shall use it only in
 * accordance with the terms of the license agreement you entered into
 * with dx.com.
 */
package org.apollo.base.tools.ui.panel;

import java.awt.BorderLayout;
import java.awt.Cursor;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;

import javax.swing.JLabel;
import javax.swing.JPanel;

import org.apollo.base.tools.ui.constants.UIConstants;

/** 
* @ClassName: HomePanel 
* @Description: 首页 
* @author wuzhenfang(wzfbj2008@163.com)
* @date 2017年8月2日 下午8:33:14 
* @version V1.0 
*/
public class HomePanel extends BaseJPanel {

	private static final long serialVersionUID = -7759355657107595637L;

	public HomePanel() {
		setLayout(new BorderLayout());
		
		JLabel lable = new JLabel();
		lable.setText("demo， i am crazy");
		lable.addMouseListener(new MouseAdapter() {
			public void mouseEntered(MouseEvent e) {
				lable.setCursor(new Cursor(Cursor.HAND_CURSOR));
			}
		    public void mouseExited(MouseEvent e) {
		    	lable.setCursor( Cursor.getDefaultCursor());
		    }
		});
		JPanel panel = new JPanel(new BorderLayout());
		panel.add(lable,BorderLayout.CENTER);
		add(panel,BorderLayout.CENTER);
		setBorder(UIConstants.lineBorder_red);
	}
	
	
	
	
}
